package com.hyz.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@ApiModel("经纪人实体类")
public class Agency implements Serializable {

    @TableId(type = IdType.AUTO)
    @ApiModelProperty("经纪人主键Id")
private Integer id;

    @ApiModelProperty("经纪人姓名")
    private String name;

    @ApiModelProperty("经纪人性别")
    private String sex;

    @ApiModelProperty("经纪人出生年月")
    private LocalDateTime birthday;

    @ApiModelProperty("经纪人手机号码：不可重复")
    private String phone;

    @ApiModelProperty("经纪人现居住地")
    private String address;

    @ApiModelProperty("经纪人工作经验年限")
    private Integer worktime;

    @ApiModelProperty("经纪人类型：0 为中介  1  为个人")
    private Integer type;

    @ApiModelProperty("经纪人的个人简介")
    private String desp;

    @ApiModelProperty("经纪人头像")
    private String headimg;

    @ApiModelProperty("经纪人身份证正面照片")
    private String personcardfront;

    @ApiModelProperty("经纪人身份证反面照片")
    private String personcardback;
}
